Inheritance diagram for XFcGLTextureFromFile:


Public Member Functions | |
| virtual XFCIMPORT INT | fillSurface (INT32 aSurfaceNumber, void *aBuffer, XFcGLComplexSurfaceResource *aSurface) |
| Inherited from XFcGLTextureBuilder interface. | |
| virtual XFCIMPORT INT32 | getSurfaceCount () |
| Inherited from XFcGLTextureBuilder interface. | |
| virtual XFCIMPORT void | getSurfaceParams (INT32 aSurfaceNumber, INT32 &aWidth, INT32 &aHeight, INT32 &aFormat) |
| Inherited from XFcGLTextureBuilder interface. | |
| virtual XFCIMPORT INT | sameClassEquals (XFcGLTextureBuilder *aBuilder) |
| Inherited from XFcGLTextureBuilder interface. | |
| virtual XFCIMPORT | ~XFcGLTextureFromFile () |
| Virtual destructor. | |
Static Public Member Functions | |
| XFCIMPORT XFcGLTexture * | create (const CHAR *aFilename, INT32 aFlags=XFCTC_MIPMAP_POINTSAMPLE, UINT32 aColorKey=0xff000000) |
| Creates a texture object from an image file. | |
| XFCEXPORT void | loadTextureInfo (XFcGLTextureFromFile *aBuilder) |
| Loads the texture info for the texture builder. | |
Protected Member Functions | |
| XFcGLTextureFromFile () | |
| Protected constructor. | |
Protected Attributes | |
| UINT32 | mFormat |
| Internal: image format. | |
| CHAR * | mFilename |
| Internal: image filename. | |
| UINT32 | mWidth |
| Internal: image width. | |
| UINT32 | mHeight |
| Internal: image height. | |
| INT32 | mSurfaces |
| Internal: total number of surfaces. | |
| INT32 | mTextureFormat |
| Internal: texture format (XFCGF_R5G5A1B5 or XFCGF_R5G5X1B5). | |
| UINT32 | mColorKey |
| Internal: color key, if any. | |
|
|
Virtual destructor.
|
|
|
Protected constructor.
|
|
||||||||||||||||
|
Creates a texture object from an image file. In order to use the color key, set the aColorKey parameter and use the XFCTC_COLORKEY flag. The color keying sets the texture format to 1555 and sets all the texels that have the color as transparent.
|
|
||||||||||||||||
|
Inherited from XFcGLTextureBuilder interface.
Implements XFcGLTextureBuilder. |
|
|
Inherited from XFcGLTextureBuilder interface.
Implements XFcGLTextureBuilder. |
|
||||||||||||||||||||
|
Inherited from XFcGLTextureBuilder interface.
Implements XFcGLTextureBuilder. |
|
|
Loads the texture info for the texture builder.
|
|
|
Inherited from XFcGLTextureBuilder interface.
Implements XFcGLTextureBuilder. |
|
|
Internal: color key, if any.
|
|
|
Internal: image filename.
|
|
|
Internal: image format.
|
|
|
Internal: image height.
|
|
|
Internal: total number of surfaces.
|
|
|
Internal: texture format (XFCGF_R5G5A1B5 or XFCGF_R5G5X1B5).
|
|
|
Internal: image width.
|
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch | ||